package com.shy.springframework.test.bean;

import com.shy.springframework.aop.MethodBeforeAdvice;

import java.lang.reflect.Method;

/**
 * @author yzpang
 * @desc:
 * @date: 2023/2/13 9:24
 */
public class UserServiceBeforeAdvice implements MethodBeforeAdvice {
    @Override
    public void before(Method method, Object[] args, Object target) throws Throwable {
        System.out.println("方法:" + method.getName() + " 执行前...");
    }
}
